<%@ page import="structures.User;"%>
<%	User user = (User) session.getAttribute("user");%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Navbar</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
  </head>

  <body>
    <!-- Fixed navbar -->
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">TiVendoio</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li><a href="home.jsp">Home</a></li>
            <li><a href="#">About</a></li>
            <li><a href="#">Contact</a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
          	<li><a href="./newAd.jsp">Insert new AD</a></li>
            <li><a href="./TiVendoIoAds?starterId=0&method=successors&limit=10&adType=All">TiVendoIo Ads</a></li>
  			<li><a href="./ShowActualUser?idUser=<%=user.getId()%>">Personal Page</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>
  </body>
</html>